@import '../common.less';
.RUIYI {
  .topMenu {
    .top-layout {
      background-color: @theme-color;
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .top-left {
        height: 100%;
        display: flex;
        align-items: center;
      }
    }
    .logo {
      height: 100%;
      width: 160px;
      background-image: url('~@assets/skin/ruiyi/images/logo.svg');
      background-repeat: no-repeat;
      background-position: 50%;
      margin-left: 16px;
      &.privated {
        width: 190px;
        background-size: 100%;
      }
    }
    .main-menu {
      display: flex;
      font-weight: 500;
      font-size: 16px;
      color: fade(@white, 60%);
      margin-left: 35px;
      height: 100%;
      align-items: center;
      cursor: pointer;
      & > li {
        display: flex;
        margin-right: 60px;
        position: relative;
        height: 100%;
        line-height: 100%;
        align-items: center;
        &::after {
          content: '';
          height: 2px;
          width: 100%;
          position: absolute;
          background-color: @white;
          bottom: 0;
          display: none;
        }
        &:hover,
        &.active {
          color: @white;
          &::after {
            display: block;
          }
        }
      }
    }
    .system-menu {
      display: flex;
      align-items: center;
      color: @white;
      & > div {
        margin-right: 20px;
      }
      .icon-list {
        font-size: 20px;
        & > div {
          padding: 2px 8px;
          &:hover {
            background-color: #1952d6;
            .border-radius;
          }
        }
      }
    }
  }
}
